/**
@description _type文件

@copyright    Copyright 2022 ONES 复临科技
@version      1.0.0
@link         https://ones.ai
@author       venki.chen <chenwenchao@ones.ai>
@datetime     2022/7/14 10:03
*/

package types

import (
	"fmt"
	"unsafe"
)

func init() {
	fmt.Println("整型学习记录")
}

func Study01() {
	var num1 int8 = -128

	var num2 uint = 20

	num3 := 100

	fmt.Println(num1)
	fmt.Println(num2)
	fmt.Printf("num3的类型是：%T", num3)
	fmt.Println()
	fmt.Println(unsafe.Sizeof(num3))

	var age byte = 18
	fmt.Println(age)
}
